﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<table width="100%" border="0" cellpadding="0" cellspacing="0" class="edit">
    <tr>
        <td class="label required">
            Họ và Tên <span>*</span>
        </td>
        <td class="input">
            <% 
                Response.Write(Html.TextBox("FullName", ((vuonthieunhi.Models.OwnerStudentCard)ViewData.Model).FullName, new { @maxlength = "100", @style = "width:300px" }));
                Response.Write(Html.Hidden("ID", ((vuonthieunhi.Models.OwnerStudentCard)ViewData.Model).ID));                              
            %>
        </td>
    </tr>
    <tr>
        <td class="label required">
            Giới Tính <span>*</span>
        </td>
        <td class="input">
            <% 
                Response.Write(Html.RadioButton("Gender", "Nam", ((vuonthieunhi.Models.OwnerStudentCard)ViewData.Model).Gender == true ? true : false, new { @id = "rbMale"}));
                Response.Write("<label for=\"rbMale\">Nam</label>&nbsp;");
                Response.Write(Html.RadioButton("Gender", "Nữ", ((vuonthieunhi.Models.OwnerStudentCard)ViewData.Model).Gender == true ? false : true, new { @id = "rbFemale" }));
                Response.Write("<label for=\"rbFemale\">Nữ</label>");
            %>
        </td>
    </tr>
    <tr>
        <td class="label required">
            Địa Chỉ <span>*</span>
        </td>
        <td class="input">
            <% 
                Response.Write(Html.TextArea("ContactAddress", ((vuonthieunhi.Models.OwnerStudentCard)ViewData.Model).ContactAddress, new { @style = "width:300px", @maxlength = "200" }));               
            %>
        </td>
    </tr>
    <tr>
        <td class="label">
            Nhận thẻ tại 
        </td>
        <td class="input">
            <% 
                Response.Write(Html.TextArea("ReceiveAdrress", ((vuonthieunhi.Models.OwnerStudentCard)ViewData.Model).ReceiveAdrress, new { @style = "width:300px", @maxlength = "200" }));               
            %>
        </td>
    </tr>
    <tr>
        <td class="label required">
            Điện Thoại <span>*</span>
        </td>
        <td class="input">
            <% 
                Response.Write(Html.TextBox("Phone", ((vuonthieunhi.Models.OwnerStudentCard)ViewData.Model).Phone, new { @style = "width:300px", @maxlength = "20" }));               
            %>
        </td>
    </tr>
    <tr>
        <td class="label required">
            Email <span>*</span>
        </td>
        <td class="input">
            <% 
                Response.Write(Html.TextBox("Email", ((vuonthieunhi.Models.OwnerStudentCard)ViewData.Model).Email, new { @style = "width:300px" , @maxlength = "200"}));               
            %>
        </td>
    </tr>
    <tr>
        <td class="label">
            Trường học
        </td>
        <td class="input">
            <% 
                Response.Write(Html.TextBox("School", ((vuonthieunhi.Models.OwnerStudentCard)ViewData.Model).School, new { @style = "width:300px", @maxlength = "200" }));               
            %>
        </td>
    </tr>
   <tr>
        <td class="label required">
            Niên khóa <span>*</span>
        </td>
        <td class="input">
            <% 
                Response.Write(Html.TextBox("SchoolYear", ((vuonthieunhi.Models.OwnerStudentCard)ViewData.Model).SchoolYear, new { @style = "width:300px", @maxlength = "200" }));               
            %>
        </td>
    </tr>
    <tr>
        <td>
        </td>
        <td>
            <input type="submit" class="save" value="" alt="" id="save"/>
            <input type="button" class="cancel" value="" alt="" onclick="JS_LIB.closePopup()" />
        </td>
    </tr>
</table>